﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.YJJSZHSQ.Dtos
{

    [ExcelExporter(Name = "月结解锁账户申请", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetYJJSZHSQOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }


        #region 主流程

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 正文
        /// </summary>
        public string Content { get; set; }

        #endregion

        #region 子流程

        /// <summary>
        /// 姓名
        /// </summary> 
        public string Name { get; set; }

        /// <summary>
        /// 帐号
        /// </summary> 
        public string Account { get; set; }

        /// <summary>
        /// 公司编码
        /// </summary> 
        public string CompanyCode { get; set; }

        #endregion
    }
}